// pages/userCenter.js
const app = getApp();
Page({
  data: {
    aboutContent:'',
    aboutImg:''
  },
  onLoad() { 
    this.getData();
  },
  onShow(){
  },
  getData(){
    let that = this;
    wx.request({
      url: app.globalData.baseServePath + '/wxapi/about/latest',
      success(res){
        debugger
        if(res.statusCode == 200){
          that.setData({
            aboutContent:res.data.data.aboutContent,
            aboutImg:res.data.data.aboutImg
          })
        }
      },

    })
    this.setData({
      infoText:'哈哈哈哈'
    })
  }
})